Remove regex-based export control
authorMatthias Clasen <mclasen@redhat.com>
Sun, 5 May 2013 18:27:25 +0000 (14:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 5 May 2013 19:38:48 +0000 (15:38 -0400)
All export control is now happening through annotations
in the headers.

configure.ac
gdk/Makefile.am
gtk/Makefile.am

index cb522617e20aae0d2bee871209ada24f317defd5..702400939af63f9567bee439c8fd84a7439f349c 100644 (file)
@@ -508,16 +508,6 @@ PKG_CHECK_MODULES(CAIRO_BACKEND, [$cairo_backends])
 
 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
 
-if test "$os_win32" != yes; then
-    # libtool option to control which symbols are exported
-    # right now, symbols starting with _ are not exported
-    LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
-else
-    # We currently use .def files on Windows (for gdk and gtk)
-    LIBTOOL_EXPORT_OPTIONS=
-fi
-AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
-
 dnl ******************************************************
 dnl * See whether to include shared library dependencies *
 dnl ******************************************************
index 161996f16b590c26f3dd0a03123a68ef8809a536..ac59887896821e0d4602b0b423c1ef460cc64013 100644 (file)
@@ -54,8 +54,7 @@ LDADD =                                       \
        -version-info $(LT_VERSION_INFO)        \
        -export-dynamic                         \
        -rpath $(libdir)                        \
-       $(no_undefined)                         \
-       $(LIBTOOL_EXPORT_OPTIONS)
+       $(no_undefined)
 
 #
 # setup source file variables
index 69675210cb1e1b2141cb651e481098d17874dd1d..326494e82b7fe41bcb0fd250c212926a1863feb0 100644 (file)
@@ -121,7 +121,7 @@ deps = \
 libtool_opts =                                                 \
   $(GTK_LINK_FLAGS)                                            \
   -version-info $(LT_VERSION_INFO)                             \
-  -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)    \
+  -export-dynamic $(no_undefined)                              \
   -rpath $(libdir) $(libgtk_target_ldflags)